package com.elinkway.infinitemovies.bigdata;

import android.os.Handler;
import android.os.Looper;

public class BigDataThread extends Thread {
    private Handler handler;
    @Override
    public void run() {
        Looper.prepare();
        handler = new Handler();
        Looper.loop();
        super.run();
    }
    public void post(Runnable r) {
        if (null != handler)
            handler.post(r);
    }
}
